package com.ruoyi.project.erp.checkstocks.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 checkstocks
 * 
 * @author ruoyi
 * @date 2020-09-08
 */
public class Checkstocks extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 表头ID */
    @Excel(name = "表头ID")
    private Long mid;

    /** 表头单号 */
    @Excel(name = "表头单号")
    private String mcode;

    /** 产品代码 */
    @Excel(name = "产品代码")
    private String pcode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String pname;

    /** 产品规格 */
    @Excel(name = "产品规格")
    private String pstd;

    /** 单位 */
    @Excel(name = "单位")
    private String punit;

    /** 盘点序号 */
    @Excel(name = "盘点序号")
    private Long sn;

    /** 盘点数量 */
    @Excel(name = "盘点数量")
    private int qty;

    /** 备注 */
    @Excel(name = "备注")
    private String smemo;

    private String itemcode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMid(Long mid) 
    {
        this.mid = mid;
    }

    public Long getMid() 
    {
        return mid;
    }
    public void setMcode(String mcode) 
    {
        this.mcode = mcode;
    }

    public String getMcode() 
    {
        return mcode;
    }
    public void setPcode(String pcode) 
    {
        this.pcode = pcode;
    }

    public String getPcode() 
    {
        return pcode;
    }
    public void setPname(String pname) 
    {
        this.pname = pname;
    }

    public String getPname() 
    {
        return pname;
    }
    public void setPstd(String pstd) 
    {
        this.pstd = pstd;
    }

    public String getPstd() 
    {
        return pstd;
    }
    public void setPunit(String punit) 
    {
        this.punit = punit;
    }

    public String getPunit() 
    {
        return punit;
    }
    public void setSn(Long sn) 
    {
        this.sn = sn;
    }

    public Long getSn() 
    {
        return sn;
    }
    public void setQty(int qty)
    {
        this.qty = qty;
    }

    public int getQty()
    {
        return qty;
    }
    public void setSmemo(String smemo) 
    {
        this.smemo = smemo;
    }

    public String getSmemo() 
    {
        return smemo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mid", getMid())
            .append("mcode", getMcode())
            .append("pcode", getPcode())
            .append("pname", getPname())
            .append("pstd", getPstd())
            .append("punit", getPunit())
            .append("sn", getSn())
            .append("qty", getQty())
            .append("smemo", getSmemo())
            .toString();
    }

    public String getItemcode() {
        return itemcode;
    }

    public void setItemcode(String itemcode) {
        this.itemcode = itemcode;
    }
}
